package com.zhuiyun.project.api.audio.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhuiyun.project.api.audio.entity.Audio;
import com.zhuiyun.project.common.response.CommonResult;
import com.zhuiyun.project.utils.pageUtil.PageRequest;
import com.zhuiyun.project.utils.pageUtil.PageResult;

public interface AudioService extends IService<Audio> {

    PageResult listAudio(PageRequest pageRequest, Audio audio);

    CommonResult insertAudio(Audio audio);

    Audio getAudio(Integer audioId);

    CommonResult removeAudio(Integer[] audioIds);

    int setStatus(Audio audio);

    CommonResult getNumByAudioType(Integer audioType);
}
